package com.taxinfo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.taxinfo.pojo.dto.MainReportDto;
import com.taxinfo.pojo.vo.AccBalMapInfo;
import com.taxinfo.pojo.vo.MainReport;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wanghy
 * @since 2025-01-20
 */
@Repository
public interface MainReportMapper extends BaseMapper<MainReport> {
    /**
     * 查询所有数据
     * @return
     */
    List<MainReportDto> selectAllData();

    List<MainReportDto> selectDataByCondition(@Param("decYear") String decYear, @Param("pSubType") String pSubType);

    String getMaxReportID();
}
